package com.telit.firecommand.service.impl;

import com.telit.firecommand.dao.FireDisposalInfoDao;
import com.telit.firecommand.entity.FireDisposalInfo;
import com.telit.firecommand.service.FireDisposalInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


/**
 * @Auther zhouyu
 * @description 火情处置信息实现类
 **/
@Service
@Transactional(rollbackFor = Exception.class)
public class FireDisposalInfoServiceImpl implements FireDisposalInfoService {

    @Autowired
    private FireDisposalInfoDao fireDisposalInfoDao;


    @Override
    public List<FireDisposalInfo> queryFireDisposalInfoByFireId(Long fireId) {
        List<FireDisposalInfo> list = fireDisposalInfoDao.queryFireDisposalInfoByFireId(fireId);
        return list;
    }

}
